package com.aynu.gulimall.order.feign;

import com.aynu.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author mj
 * @version 1.0
 * @date 2021/3/21 17:20
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {
    /**
     * 获取当前选中的购物车的信息
     * @return
     */
    @GetMapping("/currentUserCartItems")
    public List<OrderItemVo> getCurrentUserCartItem();
}
